import Layout from '@/layout'
import EmptyLayout from '@/layout/empty'

export default {
    path: '/school_manager',
    component: Layout,
    redirect: '/school_manager/collegeList',
    name: 'schoolManager',
    meta: {
        title: '学校基础信息视图',
        icon: 'si-glyph-barrier'
    },
    children: [
        {
            path: 'collegeList',
            name: 'collegeList',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/admin/schoolView_manager/collageManager/collageList'),
            meta: {
                title: '学院视图',
                icon: 'college'
            }
        },
        {
            path: 'collegeUpdate/:type/:id',
            name: 'collegeUpdate',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/admin/schoolView_manager/collageManager/collageUpdate'),
            meta: {
                title: '学院视图更新',
                sidebar: false,
                activeMenu: '/school_manager/collegeList'
            }
        },
        {
            path: 'professionList',
            name: 'professionList',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/admin/schoolView_manager/professionManager/professionList'),
            meta: {
                title: '专业视图',
                icon: 'profession'
            },
        },{
            path: 'professionUpdate/:type/:id',
            name: 'professionUpdate',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/admin/schoolView_manager/professionManager/professionUpdate'),
            meta: {
                title: '专业视图更新',
                sidebar: false,
                activeMenu: '/school_manager/professionList'
            }
        },
    ]
}
